
export LIBUV_INSTALL_HNP_PATH=${HNP_PUBLIC_PATH}/libuv.org/libuv_v1.51.0

${CMAKE} \
    -DCMAKE_TOOLCHAIN_FILE=${TOOLCHAIN_FILE} \
    -DCMAKE_INSTALL_PREFIX=${LIBUV_INSTALL_HNP_PATH} \
    -DCMAKE_SYSTEM_NAME=OHOS \

make VERBOSE=1 
make PREFIX=${LIBUV_INSTALL_HNP_PATH} install

cp hnp.json ${LIBUV_INSTALL_HNP_PATH}/
pushd ${LIBUV_INSTALL_HNP_PATH}/../
    ${HNP_TOOL} pack -i ${LIBUV_INSTALL_HNP_PATH} -o ${ARCHIVE_PATH}/
    tar -zvcf ${ARCHIVE_PATH}/ohos_libuv_v1.51.0.tar.gz libuv_v1.51.0/
popd